Cookies in Botpress

Hi I have made a appointment type bot in botpress.
if user enters the name and close the chat and comes after sometime, bot should recognize him/her (like welcome back Adam), how to achieve it ?