{% if user %}

You are {{ user.username }}

{% else %}

You are not authenticated

{% endif %}

Type any username: