Add search query (need to implement join)