fixes for Login/Logout snippets