Technology at L'Oreal is influencing how consumers purchase cosmetics