filtering of contents according to its category is done