Set up basic routing based on cookies to be called on page load and each time you submit. Uses state routing instead of URL routing.