implemented unique email validation