Refactor PagesController to PageController