generated Pages controller