Jbau admin 500 page

fixes #1935 

Also fixes the styling on the 500 pages, so that the topbar and bottombar appears.