index page setup