added message saving in chat tape