Refactor API controller to remove unused methods
Added saving of data to profile image saving
Added lots of logging around saveProfileImage
Logging the save of data
Bit more logging
Removed some logging
Fixed issue with the saving of the profile from API
Merge branch 'beta'