improvements made in the user model