test validations for user model
implement validations for user model