Create messageService.js