validations for email and username