Implement security add command and add security/add template for node.