integrating appRouter