added email check to prevent more users with same email