/**
  *
  */
 public function logout()
 {
     $this->resume();
     $logoutService = $this->authenticationFactory->newLogoutService($this->authenticationAdapter);
     $logoutService->logout($this->getAuthenticationSession());
 }