Router set up for a complex app - TanStack