@mymikemiller I think what I do is call authClient.isAuthenticated()
and then authClient.getIdentity()
if the user is authenticated.
If you do that when you initialize everything then it should work for page refreshes too.
The docs at https://agent-js.icp.xyz should have the info on those methods.