function AddUser(response) {
	if (response.type == 'good') {
		var username = response.data['username'];
		var UserId = response.data['UserId'];

		AddRow(
			document.getElementById('AdminUsersTable'),
			{	
				redirect: {'UserId': UserId},
				values: {'username': username}
			},
			'username'
		);
	}
}

function AddUserRequest(inputs) {
	var username = inputs.namedItem('username').value;
	var password = inputs.namedItem('password').value;
	MakeAjaxRequest('../Modify/ManageUser.php', {username: username, password: password, type: 'add'}, AddUser);
}

@@ -98,16 +98,42 @@
 name'%5D;%0A
+%09%09var role = 'Correttore'%0A
 %09%09var Us
@@ -295,16 +295,30 @@
 username
+, 'role': role
 %7D%0A%09%09%09%7D,%0A

Fix #63