@CarolineS, Also in addition to my answer, add this context object ${webUi.getUserLogoutPageUrl("/")} in place of redirect_url of setRedirectUrl context-object http.response.setRedirectUrl("redirect_url") Once the condition is matched, it will take user to logout page. P.S: Do not add redirect variable directly without condition into page init, it will take you into a continuous loop, and can result to server down error into your community.
... View more