changed route to index page