{% if request.endpoint != 'main.login' %}
{% if request.endpoint == 'main.dashboard' %} Welcome to Dashboard {% endif %}
{% if 'user' in session %} Logout {% endif %}
{% endif %}
{% block content %}{% endblock %}