add pagination to dashboard