fix navbar for admin, added log for debug