ensure search only returns published posts
add methods to retrieve posts with specific categories or tags