Changed email validation check with regex