added search form and pagination.