Tries to debug login/logout issue