Added page selector view
Fixed an error in the page service