{% if user %}
Logged in as {{ user.username }}
test logout {% else %} login {% endif %}