added pages controller
pages