merged mvc and rest category pages into one