load the profiles and populate the profiles dropdown. also fix saving new profile