pagination added, search at the top added