Added a thankyou page for contact form submission
Added isHomepage function