add a pages controller
finish pages