Trying to set up a chat environment