Changing the post.js database to be able to search item by category id