added pages controller, header partial