Work main page and search page(with many bugs)