added routes buttons and forms for email submit as well as email logic