Feature/mob 2142 login

what if logout fails?