added chat history view and delete method