{%- if (app.user is null) -%} Not logged in. {%- else -%} Logged in as {{ app.user.username }}. {%- endif -%}