user can upload image when registering or updating profile