added chat functionality, working on back-end for this