 			}
 		}
 	}
+    
+	func createLoginViewController(url loginURL:URL) -> UIViewController {
+		return LoginViewController(url: loginURL)
+	}
+    
 }

		}
		
		// Replace current root view controller with Safari view controller for login
		let loginVC = LoginViewController(url: url)
		loginVC.replacedRootViewController = window.rootViewController
		window.rootViewController = loginVC
	}
	

		}
		
		salesforce.authManager.loginCompleted(result: result)
		if let window = self.window, let currentRootVC = window.rootViewController as? LoginViewControllerable, let replacedRootVC = currentRootVC.replacedRootViewController {
			window.rootViewController = replacedRootVC
		}
	}
