I am using v2 and I try to implement an authentication flow. My purpose is to check if isLoggedIn flag in store is true or false. For this, I want to implement a Router hook (or pipeline, as it is called in v1) but I could not figure out how to do it exactly. connectTo won’t work, I assume because certain lifecycle methods such as bind does not exist for hooks. So any help ( or recommendations for better approaches ) is appreciated