diff --git a/views/profile.pug b/views/profile.pug
index 2261051adb840458209d5e10c1a37f6a57ec065f..47c1f7e8683e370e2fb368337c4fca5d419230fe 100644
--- a/views/profile.pug
+++ b/views/profile.pug
@@ -92,4 +92,4 @@ html(lang="en")
     // Bootstrap
     script(src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous")
     // M4_LAB
-    script(src="https://transfer.hft-stuttgart.de/js/headfoot.js")
\ No newline at end of file
+    script(src="/js/headfootLogout.js")
\ No newline at end of file
diff --git a/views/security.pug b/views/security.pug
index ff131d73d9b16e8b13079792372d211992135650..95cf50eacf526b535ee1dd902372d8648eb31a51 100644
--- a/views/security.pug
+++ b/views/security.pug
@@ -74,7 +74,7 @@ html(lang="en")
     // M4_LAB
     script(src="/js/security.js")
     script(src="/js/generalFunction.js")
-    script(src="https://transfer.hft-stuttgart.de/js/headfoot.js")
+    script(src="/js/headfootLogout.js")
     script.
         // check input fields
         'use strict';
diff --git a/views/services.pug b/views/services.pug
index 41fe58d3f413c16177d747fc703069209014352e..f095144beb05de603a741230ae857d11b543b3f9 100644
--- a/views/services.pug
+++ b/views/services.pug
@@ -67,7 +67,7 @@ html(lang="en")
     // Bootstrap
     script(src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous")
     // M4_LAB
-    script(src="https://transfer.hft-stuttgart.de/js/headfoot.js")
+    script(src="/js/headfootLogout.js")
     script.
         function subscribe() {
             alert("To be implemented: Send a request to join/participate/have access to the page of the requested service")