Creating customer segments based on user behavior