basic chat functionality added