completed search bar component (now parsing field parameters)