         webView.autoresizingMask = UIViewAutoresizing(arrayLiteral: .FlexibleWidth, .FlexibleHeight)
         view.addSubview(webView)
         
-        let request = NSURLRequest(URL: NSURL(string: authorizationURL)!)
+        let request = NSURLRequest(URL: authorizationURL)
         webView.loadRequest(request)
         
         let doneBarButtonItem = UIBarButtonItem(barButtonSystemItem: .Done, target: self, action: #selector(dismiss))

    
    private var webView = UIWebView()
    
    private var authorizationURL: String!
    private var callbackURL: String!
    
    private var successBlock: FlickrOAuthViewControllerSuccessCompletionHandler!
    private var failureBlock: FlickrOAuthViewControllerFailureCompletionHandler!

    // MARK: Init
    
    init(authorizationURL: String, callbackURL: String) {
        self.authorizationURLString = authorizationURL
        self.callbackURLString = callbackURL
        super.init(nibName: nil, bundle: nil)
    }
    
