Add pagination to profile page