Fixed problem where admin navbar led to blank pages