Remove warning breaking logout