Implement basic chat functionality