Added a Pages controller
some change