worked on the user model validations and tests