Logout While adding the Logout feature in your app or website, please check the following cases: Logout should redirect the user to the homepage but should always confirm that the user has been logged out. Logout confirmation message should not persist if the user reloads the page.