Chnaged profile photo to base64.