diff --git a/templates/user/user-base.html b/templates/user/user-base.html
index b7ad984..eb341b5 100644
--- a/templates/user/user-base.html
+++ b/templates/user/user-base.html
@@ -79,19 +79,21 @@
{% endblock %}
{% block js_media %}
-
+
+ {% endif %}
{% block user_js_media %}{% endblock %}
{% endblock %}
@@ -102,7 +104,7 @@
- {% if request.user != user.user %}
+ {% if request.user.is_authenticated and request.profile != user %}