add pagination to dashboard too