adds validations to users