Added a pages controller
add a pages controller