adds contact form logic