Add validation tests and validations to user model