live message relay and db interface