text chat functionality added