creating profile functionality