Sorry I missed your post.
I’ve added some content in the logout page, and it seems to work.
The problem was with adding a variable to the link on the WP menus /logout/?action=logout
which wordpress turns in a wpnounce
and it needs content.
So the content I’ve set is also for logging out, as a backup in case the menu link doesn’t work out at any time
I’ve also changed it to be login-2 instead of login