progress:

1.finish get chat history initially, GUI to be adjusted...