made search field find result for any record. query was hardcoded before in server.js