how to get router in server function - TanStack