I have a client-side component where I call the useSession method from the next-auth library, and if the user is not logged in, I redirect them. The problem is, when I visit the /clientmember page while logged out, the page opens and shortly after, it redirects asking me to log in. Why doesn’t the redirect happen immediately when the page is first loaded?