Corrected userId mapping for image Save