added a pages controller and a home page