Added serch function as well as changed add_product to redirect to the origional page the user is on