diff --git a/templates/base.html b/templates/base.html
index 53e32d5..2838343 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -17,7 +17,6 @@
{% if current_user.is_authenticated() %}
- - User
- Logout
{% endif %}
diff --git a/templates/main_page.html b/templates/main_page.html
index f578232..2834f31 100644
--- a/templates/main_page.html
+++ b/templates/main_page.html
@@ -1,9 +1,30 @@
{% extends 'base.html' %}
{% block content %}
-
Select the IdP you want to use to authenticate:
-
- {% for idp in idp_dict.keys() %}
- - {{idp}}
+{% if current_user.is_authenticated() %}
+
+
Logged in
+
+ Contents of the most recent SAML assertion:
+
+
+
+ {% if session.saml_attributes %}
+ {% for attribute in session.saml_attributes.keys() %}
+
+ {{ attribute }} |
+ {{ session.saml_attributes[attribute][0] }} |
+
{% endfor %}
-
+ {% endif %}
+
+
+
+{% else %}
+Select the IdP you want to use to authenticate:
+
+ {% for idp in idp_dict.keys() %}
+ - {{idp}}
+ {% endfor %}
+
+{% endif %}
{% endblock %}
diff --git a/templates/user.html b/templates/user.html
deleted file mode 100644
index e150520..0000000
--- a/templates/user.html
+++ /dev/null
@@ -1,21 +0,0 @@
-{% extends 'base.html' %}
-{% block content %}
-
-
Logged in
-
- Contents of the most recent SAML assertion:
-
-
-
- {% if session.saml_attributes %}
- {% for attribute in session.saml_attributes.keys() %}
-
- {{ attribute }} |
- {{ session.saml_attributes[attribute][0] }} |
-
- {% endfor %}
- {% endif %}
-
-
-
-{% endblock %}