Zend certified PHP/Magento developer

Logging in and registration in the pop-up/module on all pages in magento, excluding the login and registration page

I created an overwrite path in app/design/frontend/<name_vendor>/default/Magento_Customer/frontend/web/template/authentication-popup.html

Here I understand that I can change the texts.
Where can I trigger a pop-up on all pages except login / registration?
If someone logs in, pop up cannot appear.

Invokes it in the console: jQuery('.block-authentication').modal('openModal');