setup of index page