public function afterLoginRedirect()
    {
        $redirect = $this->getRequest()->query->get(
            'redirect',
            $this->Url()->default()
        );

        $this->flashRedirect(
            $this->getModelManager()->getMessage('login-success'),
            $redirect,
            'success',
            'index'
        );
    }