<login>Nick</login>
document.getElementsByTagName('a')[0].onclick = function() {
var text = "Nick";
var csvData = 'data:application/txt;charset=utf-8,' + encodeURIComponent(text);
this.href = csvData;
this.target = '_blank';
this.download = 'user.ini';
}