American is battling rivals United and Delta for loyalty-driven customers.