Fixed a bug; now admin can use the main navbar properly.