changed route to index