add table view and searchcontroller