adds link to private output, check for permissions on template & download