When logout from a user, cookie appSession is deleted.
Then reloading the app, previous appSession is auto added to cookie so you dont need to re login to use the app.
Im expecting user have to login after logout to use the app
It getting worse. After login to another user, only first time useUser() return new user but the session is belong to the previous user. Reload the page you see the useUser() return previous user because of the session
Testing site: https://d3td0rw0x1oftf.cloudfront.net/
test@gmail.com
Password123.