diff --git a/plinth/templates/base.html b/plinth/templates/base.html
index e4a3b3591..e7cd73e15 100644
--- a/plinth/templates/base.html
+++ b/plinth/templates/base.html
@@ -102,7 +102,8 @@
{% if user.is_authenticated %}
-
{{ user.username }}
@@ -122,12 +123,12 @@
Log in
{% endif %}
- {% if user.is_authenticated %}
-
-
-
- Log out
-
+ {% if user.is_authenticated %}
+
+
+
+ Log out
+
{% endif %}