initialize index page