created the search bar when loading products from the database, closes #18