fixing the user model class