Mozilla Persona Example

{% if g.user %} Signed in as {{ g.user }} (Sign out) {% else %} Not signed in. {% endif %}
{% block body %}{% endblock %}