title: Anonymous access how to keep track? JWT / Cookies / Sessions?
body: <p>I searched other answers, but couldn't find a compatible solution.</p>
  
  <p>We have an application built in vue which allows unregistered users to upload files within a limit. 
  For registered users we use JWT with a refresh and access token stored in a http only cookie.</p>
  
  <p>I am looking for guides on best practice to handle anonymous users. Ideally I would like to 
  a) create a record in the database with a uuid with a role of 'anon' 
  b) store this uuid client side for the lifetime of this anonymous user i think local storage is sufficient so i can access it on the client.
  c) provide a seamless upgrade to a registered user using the same uuid, so all the past interactions are recorded.</p>
  
  <p>I do know that client side storage can be deleted, this is fine, in this case i will create a new uuid.</p>
  
  <p>Do i have the right approach here using the technology stack i mentioned (Vue, JS, Node JS, MongoDB, JWT)</p>
  
  <p>Suggestions of improving these methods are welcome.</p>
  
  <p>Thanks.</p>