Changed email validation to also look for domain extension