added functionality to add categories and products