added error checking and validation to contact form.