Added a pages controller
my code