search bar now uses jquery to send request to matches/search endpoint