Added chat history, added part of message sending