In this particular case I am only interested in getting info whether the user is logged in or not.
Following the answers How to enable/disable elements depending whet