implement filtering of results based on User search queries