pagination and simple search added