Bugs in relogin