Using beforeLoad for authentication routes while keeping route layout - TanStack