adding validations for user email and name