set the add new attachment and deleting of attachments for if the admin user was signed in.