Had spent some time trying to show content only if user is logged or not, there is a paid module to make it easier but i figured out.
In any .tpl file you can use:
you can also use ! before $ to use if customer is not logged like:
It might be easy for those who already know more about...