minor bugfixes login/logout