added unique email validation