public function loginAdmin($event) { $this->repository->setCurrentUser(new UserReference($this->adminUserId)); }