Added check for unique email address before create