diff --git a/src/includes/entrepreneur/dashboard.pug b/src/includes/entrepreneur/dashboard.pug
index b79263c441d7d72fa5156c2a71c433c27a75c41c..6d50f78ef44ed7be143bd0a39fb6213cdfcf78a6 100644
--- a/src/includes/entrepreneur/dashboard.pug
+++ b/src/includes/entrepreneur/dashboard.pug
@@ -13,9 +13,6 @@ section#home
     // and grouped by steps
     // From two different endpoints I guess
     //-Work on the page architecture
-
-
-    //TODO : investigate why we have to remove hidden attribute to see this even if we are on the right route.
     #entrepreneur-resource-list(hidden).no-sidebar.container
         include ./resources/list.pug
 
diff --git a/src/includes/head.pug b/src/includes/head.pug
index 34fcd45b3bef534277c441ffefafebfef075fba6..9643a940b1bfe72d9add9db5741d5c922c6d8ca7 100644
--- a/src/includes/head.pug
+++ b/src/includes/head.pug
@@ -2,6 +2,7 @@ head
     title CoopStarter
     meta(charset="utf-8")
     script(src="https://unpkg.com/@webcomponents/webcomponentsjs@1.2.7/webcomponents-loader.js")
+    //- script(type="module" src="/scripts/sib-core/dist/index.js")
     script(type="module" src="https://unpkg.com/@startinblox/core@0.9")
     script(type="module" src="https://unpkg.com/@startinblox/router@0.7")
     script(type="module" src="https://unpkg.com/@startinblox/oidc@0.8.4")
diff --git a/src/index.pug b/src/index.pug
index 93d9e71fc967dd24721ab35df3220cc80a3f7075..4a6d8b9468a28e6eb4f44e1d7418d2ae06aa2a25 100644
--- a/src/index.pug
+++ b/src/index.pug
@@ -29,13 +29,13 @@ html
 
         #main-loader(hidden style="display: none") Loading…
 
-sib-auth
-    sib-auth-provider(
-        class="sib-auth-provider"
-        data-authority=`${sdn}`
-        data-id="coopstarter"
-    )
-
-script(type='module' src='/scripts/dispatch-space-n-user.js')
+        sib-auth
+            sib-auth-provider(
+                class="sib-auth-provider"
+                data-authority=`${sdn}`
+                data-id="coopstarter"
+            )
+
+        script(type='module' src='/scripts/dispatch-space-n-user.js')
 
 
diff --git a/src/scripts/dispatch-space-n-user.js b/src/scripts/dispatch-space-n-user.js
index 223270804e95a1dfe32e40941eb7762c37b1d73a..a438122f7797129ef7c8994c4daa5a689734eede 100644
--- a/src/scripts/dispatch-space-n-user.js
+++ b/src/scripts/dispatch-space-n-user.js
@@ -1,6 +1,23 @@
-import { store, base_context } from 'https://unpkg.com/@startinblox/core@0.9/dist/libs/store/store.js';
+import { store } from 'https://unpkg.com/@startinblox/core@0.9';
 const sibAuth = document.querySelector('sib-auth');
 
+const context = {
+  '@vocab': 'http://happy-dev.fr/owl/#',
+  rdf: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#',
+  rdfs: 'http://www.w3.org/2000/01/rdf-schema#',
+  ldp: 'http://www.w3.org/ns/ldp#',
+  foaf: 'http://xmlns.com/foaf/0.1/',
+  name: 'rdfs:label',
+  acl: 'http://www.w3.org/ns/auth/acl#',
+  permissions: 'acl:accessControl',
+  mode: 'acl:mode',
+  geo: "http://www.w3.org/2003/01/geo/wgs84_pos#",
+  lat: "geo:lat",
+  lng: "geo:long",
+  'mentor_profile': 'http://happy-dev.fr/owl/#mentor_profile',
+  'entrepreneur_profile': 'http://happy-dev.fr/owl/#entrepreneur_profile',
+};
+
 //We create a custom element
 class CoopStarterLoginComponent extends HTMLElement {
 
@@ -35,24 +52,23 @@ class CoopStarterLoginComponent extends HTMLElement {
     loader.removeAttribute('hidden');
     let user = await sibAuth.getUser();
 
-    console.log(user);
     //Set a userprefix default status
     var userPrefix = "public"
     
     // Idenfify the space we should go
     if (user) {
-      await store.initGraph(user['@id'], base_context);
-      user = await store.get(user['@id']);
-      // if (!user)
-      // user = await store.get(user);
-      console.log(user);
+      await store.initGraph(user['@id'], context);
+      let userFromStore = await store.get(user['@id']);
       
       //If the user is a mentor or an entreprenur, change user prefix
-      if(user && await user.mentor_profile) {
-          console.log(user);
+      if(user) {
+        let is_mentor = await userFromStore.mentor_profile;
+        let is_entrepreneur = await userFromStore.entrepreneur_profile;
+        if (is_mentor) {
           userPrefix = "mentor"
-      } else if (user && await user.entrepreneur_profile) {
+        } else if(is_entrepreneur) {
           userPrefix = "entrepreneur"
+        }
       }
     }