I am building a web app and need to limit users to certain pages based off of things they have access to that are stored in a database. For example user A may log in and have access to page1 page2 and page3, User B may only have Page1 and Page3. What is the best way to limit users to certain pages. Thank you.