making the index page