error in user model