added chat functionality to view game