Added a check for unique email