search form and pagination added