How to handle authentication (get session data) - TanStack