handling find query (GET with url parameters)