Created the Pages controller