added formatting to the profile fragment