attempt to fix logout in iOS