{% if is_granted('ROLE_USER') %} {% hook 'logged_in_user' %} {% endif %}