add addPlan function in CatalogController