add to methods to support web file with Authenticate

the code is not elegant  >.<