setup index page