add index page handler