Added check to ensure users with duplicate emails are NOT created.