connect to chat implementation