create the pages controller, update the routes and configure showing posts