How to run a method in app.component.ts when a particular page loads

“Who is logged in” is a categorically different thing from “which page is active” IMHO.

Why I don’t like events. How I prefer to handle authentication navigation.