added form validation
Merge pull request #3 from Wesleyleung/feature/sendgrid_emails

added form validation