Login/Logout bug patched