adding the category tag in the view