adding the Pages controller