added a Pages controller