getAuthenticationProvider()->logout(); // End user session App::Get()->EndUserSession(); // Redirect to the home page App::Get()->Redirect(SITE_ROOT . "/");