Social media and possibly the broader PR/media management needs to be overhauled. Although I think UA was mostly in the right for both the leggings drama and the SDF flight, the fact is that these two issues were PR and reputational nightmares for UA at least in part due to the abysmal public response.
Can't happen twice in not even a month.