Update profile page to support pagination