
			this.showDialog( "Success", msg );
		};
		Controller.prototype.failure = function(err) {
			this.errors.push( err );
			this.showDialog( "Error", err );
		};

		// Child class
		function LoginController() {
			Controller.call( this );
		}
		// Link child class to parent
		LoginController.prototype = Object.create( Controller.prototype );
		LoginController.prototype.getUser = function() {
			return document.getElementById( "login_username" ).value;
		};
		LoginController.prototype.getPassword = function(