invalid & duplicate email checking