Implemeted the chat and comments functionality