<nav>
	{% if username %}
	<span>logged in as <em>{{username}}</em></span>

	<a href="{{ url_for('auth.logout') }}">Log Out</a>
	{% else %}
	<a href="{{ url_for('auth.register') }}">Register</a>

	<a href="{{ url_for('auth.login') }}">Log In</a>
	{% endif %}
</nav>
