added better email validation