Fixed duplicate email check