protected function handleAccountPage(Request $httpRequest)
    {
        $user = $this->picoAuth->getUser();
        if (!$user->getAuthenticated()) {
            $this->session->addFlash("error", "Login to access this page.");
            $this->picoAuth->redirectToLogin();
            return;
        }

        // Page for password editing available only to local accounts
        if ($user->getAuthenticator() !== $this->getName()) {
            $this->picoAuth->redirectToPage("index");
            return;
        }

        $editAccount = $this->picoAuth->getContainer()->get('EditAccount');
        $editAccount->setConfig($this->config)
            ->handleAccountPage($httpRequest);
    }