creation of the index page