Added a pages controller