add chat functionality