added messagesSvc