moves form error handling to client side and finishes mailer
sends confirmation email first
assests compile