create the search page from beginnig