add the function of getting tags for each category, in order to do future search