adds html 5 form validation, and prevents an email from signing up twice