Added lots of logging around saveProfileImage