init with index page