Update the PagesController to follow the PSR-1