Add a pages controller
Add integration test of pages