implemented a proper search box and added it to all appropriate pages