modified the user model file