Upload works, but need to rework the creds handling