setting up index page