Basic chat functionality. need to fix it