added email check