set up the home page with the correct route