Added pages controller.