Add beginning of chat functionality