{% if user.is_authenticated %} {{ user.username }} | Logout {% else %} Login {% endif %}