creating a UI response for a contact form submission