diff --git a/js/headfoot.js b/js/headfoot.js
index fd1a2eb5536b709d2d0283c752245355d1b6865c..b5029d8cab621e47e21ff6e269542657ca18e35e 100755
--- a/js/headfoot.js
+++ b/js/headfoot.js
@@ -11,6 +11,7 @@ function prependChild(parent,child){
 }
 
 function userAuthenticated(){
+    console.log(document.getElementById('loginswitch'));
     let params = new URLSearchParams(window.location.search);
     if(params.get('isAuthenticatedUser')){
         return true;