fixed error that caused access denied message to be always displayed when linking to the admin panel
fixed admin control panel link in navbar