<div class="hidden">
<form id="logout_form" action="/accounts/logout/" method="POST">{% csrf_token %}
</form>
</div>