Implemented user model validations