Refactor S3Profile.profile page load section.