Hello @Dalaz ,
Could you please provide more details on your implementation?
The global values can be preserved between sessions only if you store them in the cache. However, if you hardcode the default credentials, the plugin will consider it as a valid status (code reference) of a signed-in user.
But apart from the default credentials, the User plugin should be configured with a Session Model that will return the proper response with user status. It can either communicate with the backend (assumed as a default use-case), or access local storage/Service Worker, or return the needed response with any custom logic.
Please check the example of a similar model and full related demo on our Github (“node-express” branch, the user credentials are hardcoded in the backend script).