Ionic 4 understanding app component with user details


I have build a menu with app.component.html and also its a splitpane side menu and its working great, the problem is I use the : RouterEvent) => {
      if (event instanceof NavigationEnd && (event.url === '/intro' || event.url === '/login' || event.url === '/register')) {

for hiding the sidemenu so its not visible for not logged in user, but it happens that when I want to pull data from the services auth module where I stored all the user data, it does not happen at all, the userdata are not being pulled from storage :

      console.log('user details:'+res);

its not pulling on the app.component.ts anything did I miss? as other pages worked fine