Added pagination to the view-profile page. Refs #14