configuring index page