added search history, styling needs to be fixed