Profile

{% if user.is_authenticated %}

Username: {{ username }}

Logout {% else %}

Not logged in

Login {% endif %}