Login/logout debugging