         }
         createAcctVC.apply(theme: theme)
         funnel?.logCreateAccountAttempt()
+        loginFunnel.logCreateAccountAttempt()
         dismiss(animated: true, completion: {
             createAcctVC.funnel = CreateAccountFunnel()
             createAcctVC.funnel?.logStart(fromLogin: self.funnel?.loginSessionToken)

            self.setViewControllerUserInteraction(enabled: true)
            self.dismiss(animated: true)
            self.funnel?.logSuccess()
        
        }, failure: { error in


    
    @objc public var funnel: WMFLoginFunnel?
    
    private lazy var loginFunnel: LoginFunnel = {
       return LoginFunnel()
    }()
    private var startDate: Date? // to calculate time elapsed between login start and login success
    
    fileprivate var theme: Theme = Theme.standard
    
    fileprivate lazy var captchaViewController: WMFCaptchaViewController? = WMFCaptchaViewController.wmf_initialViewControllerFromClassStoryboard()
    private let loginInfoFetcher = WMFAuthLoginInfoFetcher()
    let tokenFetcher = WMFAuthTokenFetcher()
    
    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        startDate = Date()
        
    }

    @objc func closeButtonPushed(_ : UIBarButtonItem) {
        dismiss(animated: true, completion: nil)
