added a pages controller and a couple of views