added pages controller, partials