added search by location and moved the workload of filtering searches to the server