Check authorization code/session data when user goes to a route
Check authorization code/session data when user goes to a route