setting up the index page