added a pages controller
added Pages controller