changing app route to use category