Restoring the page rendering for the logout function.