validate uniqueness and format for email