corrected error in user model