added form validation to contact form