Search History-V1

All this files correspond to search history, test.php is only for the
purpose of testing