move requirement of base.php back to pages; away from header.php