adding the pagination and search is not function yet