upgraded upload capability to support anonymous users better