App with two menu

in my application i am having two types of user, for that there are different menu options.
After login i am setting root page to two different pages, for the first time it shows correct options but after logging out second type of user get login but displaying the previous menu.
for 1 user type my code is:-
After login


Menu list in ChomePage

<ion-menu [content]="ccontent">
  <ion-content class="l-menu">
      <ion-item text-center>
        <img class="menu-logo" src="assets/imgs/contractor_profile.png"/>
        <h3>Welcome <strong>ABC</strong></h3>
      <button menuClose ion-item icon-start *ngFor="let p of menulist" (click)="openPage(p)">
        <ion-icon [name]="p.icon"></ion-icon>

<!-- Disable swipe-to-go-back because it's poor UX to combine STGB with side menus -->
<ion-nav [root]="rootPage" #ccontent swipeBackEnabled="false"></ion-nav>


rootPage:any= ChistoryPage;

this.menulist = [
      { title: 'History',component:ChistoryPage,icon:''},

for 2 user type


MenuList in OhomePage

this.menulist = [
      { title: 'Jobs',component:ChistoryPage,icon:''},

but it loads with the menu list for the user type logged in first time. After ctr+F5 it loads correctly.