Adds client-side validation for email address

Adds regex to test email address and displays message if the email
address is incorrect.