{% if user.is_authenticated %} logout {% endif %}