chat methods added
chat implementation