Added basic chat functionality