validation and error messages added to contact form