added pages_controller.b