diff --git a/webapp/public/js/authentication/app.js b/webapp/public/js/authentication/app.js
index 076a566b0f90302d853509e0b400b472c9bc446f..8286eab07b6e4e292c0f446f3da2212e3cabe370 100644
--- a/webapp/public/js/authentication/app.js
+++ b/webapp/public/js/authentication/app.js
@@ -40,10 +40,11 @@ class App {
                 }
             });
         }
-        tr.querySelector('th > h4 > a').addEventListener('click', (event) => {
+        const a = tr.querySelector('th > h4 > a');
+        a.addEventListener('click', (event) => {
             event.preventDefault();
             sessionStorage.setItem('domain', domainObject.nome);
-            window.location.href = '/secured/home/';
+            window.location.href = a.href;
         });
     }
 
diff --git a/webapp/public/js/templates/domains-template.js b/webapp/public/js/templates/domains-template.js
index a9e28146f567c36830d60f7b27fce1cacb1b9a56..0f082331317911fd65f2748315110b45a30e2f55 100644
--- a/webapp/public/js/templates/domains-template.js
+++ b/webapp/public/js/templates/domains-template.js
@@ -1,6 +1,7 @@
 'use strict';
 
 function createRowDomain(domain) {
+    console.log(domain);
     return `
     <th scope="row">
         <h4 class="d-flex justify-content-center mt-2">