created api for listing category list and category dropdowns for category add page