added redirect url for image upload