updated validation for email