Added REST service for messages