change the route to go to index page