add identity registration capabilities for swift