Refactor to remove duplicated code out of servlets into the base servlet
Put menubar into error pages.