Added pages to Pages controller