validating email for uniqueness along with presence and format