Add pagination, must fix ajax with pagination