working on message server for passing  messages for client