I think I might simplify it and mess with some php and the SQL queries. Something like this:
if registered then select where private = true else select where private = false
I’ll keep looking for something that already does this, otherwise feel free to post what you find here. Thanks.