how automation affects customer loyalty