implemented search and filter functions for blog list