                         }
                     })
                 }
+            }
         }
     }
     

    }
    
    
}
    func loginWithInstagram(code: String) {
        let request = AuthInstagram.Router.requestAccessTokenURLStringAndParms(code)
        
        Alamofire.request(.POST, request.URLString, parameters: request.Params).responseJSON { response in
            if response.result.isSuccess {
                
                let data = response.result.value
                let error = response.result.error

                
                print("request: \(response.request)")
                
                if let unwrappedError = error {
                    
