Added check for duplicate email addresses