Modeifed PagesController