Implementing a REST controller in customer service