Text this: Mathematical modeling and optimal control of customer’s behavior toward e-commerce