Added a pages controller.