add user and assistant event
final version
.