initialize and add index page