added user model validations and test specific to validation