Visibility based on if a user is logged in or not

Hi, I am working on a desktop web app and want when a visitor is not logged in it shows them the login login/ register text and if they are logged in it shows them the log out text. I do not see an ‘If user is logged in’ for visibility conditions, so can you tell me how can I accomplish this?

Hey there @JHamilton
Welcome to the community :sunglasses:

Use the visibility condition sometimes visible if the logged-in user’s email is not equal to empty.

1 Like

Thank you so much :pray:t3: That works perfectly.

How every the issue I have now is that the logout text does not align where the login text was. I have it stacked on each other so maybe that’s the problem, but I don’t know how to make it work like a swap out.

Hi Jennine,

Put a rectangle behind the two texts as a container!

A example by Flawless! :

Thank you

Thank you @dilon_perera. That works for the most part too. Can you tell me how I can do pagination. I am creating a Gazette site, so it’s many articles when a user searches.

1 Like

Your Welcome :+1:

If you have a ID for each article this would be easy!

This will help : Some Tips and Tricks by this Semi Noob! 😅 ( Tip No : 7 )