Connected SearchGUI to the search bar