Added functionality to show all pages.