Use PageManager, not the roll your own function, to get the index page. Minor logic cleanup