{% if user.is_authenticated %}
{% csrf_token %}
Log Out
{% endif %} {% block content %} {% endblock %}