added in shared file code to the profile page