basic chat functionality works