error: class 'user' not found