adds contact form and mailer functionality