Added pages controller