oller.prototype.failure = function(err) {
			// "super" call
			Controller.prototype.failure.call( this, "Login invalid: " + err );
		};

		// Child class
		function AuthController(login) {
			Controller.call( this );
			// in addition to inheritance, we also need composition
			this.login = login;
		}
		// Link child class to parent
		AuthController.prototype = Object.create( Controller.prototype );
		AuthController.prototype.server = function(url,data) {
			return $.ajax( {
				url: url,
				data: data
		