useUserSession() is auto‑imported on the client and server.
const {
user,
session,
loggedIn,
ready,
signIn,
signUp,
signOut,
fetchSession,
} = useUserSession()
fetchSession() on first load.ready flips to true after the first fetch attempt.Use ready or <BetterAuthState> when you need to wait for hydration.