How to control the content in ion-side-menu automatically?

I set an ion-side-menu in my App, but the menu content won’t change if the related variable has changed in the controller, does anybody know how to resolve it? What I want is ion-side-menu will show the user information if user has logged in, hide if not, and also it will change the status if user logged of in App content page, thanks in advance.