Attempt to fix cp due to api changes

Everything seems to be working okei. There are some images missing, but i had the same problem before. I noticed that the set profile name if blank on firefox but gets filled out by chrome.