Save and load profile details.