I need to access an Auth0 hook or Context Hook inside of a class component(dashboard main page) in order to know whether a user is logged in to prevent certain actions from taki