// logout request
if (req.getString(LOGOUT_REQUEST) != null && req.getString(LOGOUT_REQUEST).equals(LOGOUT_REQUEST))
{
LogoutStatus logout = FrontControllerAuthenticator.logout(req);
if (logout == LogoutStatus.ALREADY_LOGGED_OUT)
{
// reach this by using the 'back' button of the browser and
// click Logout again :)