added client side validation via formProcessor.php, as well as mailer function