Fixes admin dashboard controller and modifies AdminAccessTrait to use container on controller.