Essays on Customer Relationship Management