Fixes Upload Photo

Fixes upload photo function in UserProfileController and changes the IISUrl to use HTTPS.