add username query parameter for result path
update staging directory and add result directory to error report