update error pages with navigation and default layout