Finished off the searching frontend