Removed state (non-autowired object) from MainController.
Fixed loading Clear Cart button after login/logout.