diff --git a/plinth/templates/base.html b/plinth/templates/base.html
index fa845ce81..52b3e1696 100644
--- a/plinth/templates/base.html
+++ b/plinth/templates/base.html
@@ -89,39 +89,42 @@
{% block add_nav_and_login %}
-
- {% for item in cfg.main_menu.items %}
- {% if item.url in active_menu_urls %}
- -
-
+
-
- {% endfor %}
+
- {% if user.is_authenticated %}
-
-
- Logged in as {{ user.username }}.
-
- Log out.
-
- {% else %}
-
- Not logged in.
-
-
- Log in.
-
- {% endif %}
- {% endblock %}
+ {% endblock %}