added download all permission &  download logging