add validation for uniqueness of email