Correct way to protect routes on server and client with better auth - TanStack