Coding to prevent customer from entering invalid email such as .coma instead of .com