{% extends "layout.html" %} {% block body %}

Conjuring up {{db_name}}

You are currently logged in as {{ session.email or "Nobody" }}

{% if session.email %}

Sign Out

{% else %}

Sign In

{% endif %} {% if session.email and session.logged_in%} {% if tables %}

Tables in this database:

{% endif %} {% else %} {% if session.email %}

You logged in - but your email isn't in our list of authorized users.

{% endif %} {% endif %}
{% endblock %}