added pages controller
added pages