In Cuba, I extend the AppUI to check if there is an existing UI and if the user has logged in and kill it. The purpose is to prevent multiple instances of the same application on the same browser, as a security requirements by banks.
How do I do the same thing in Jmix 2.x ?