updated admin logic, fixed nav bar