Refactored admin-nav helper