Bugfix on the login logging