added header nav and pages controller