fixed search. now i need to know what we can search by to modify query.
adding functionality for search all