prototype for messaging service