Changes to Upload file workflow and User Sercurity Permissions