latest contact form logic