add pagination to archive and status