I am developing an app using cordova, ionic2 and couchbase light. It contains multiple pages. Three are 3 types of users. I want to show the pages based on the user type (roll); only the pages intended for him need to the visible and accessible. How to implement this in ionic 2. Please provide some sample code to achieve this task.