remade the chat system, it now connects one-way to the ddatabase