Chatbot for multiuser


I am creating a chatbot where Multiple users will be coming So, I am going to use authentication for every user and I want to keep track of every user conversation so the next time users will come he wont have to start from the start.

Any solution for this?