                 if let location = response.response!.allHeaderFields["Location"] as? String {
                     let ticketRange = location.rangeOfString("?ticket=")
                     let ticket = String(location.characters.suffixFrom(ticketRange!.endIndex))
-
+                    
                     self.loginOAuth(ticket)
                 } else {
                     self.delegate?.didNotReceiveAuth()

        delegate.taskWillPerformHTTPRedirection = { session, task, response, request in
            return nil
        }

        manager.session.configuration.HTTPAdditionalHeaders = [
            "User-Agent": "niantic"
        ]

        Alamofire.request(.GET, PGoEndpoint.LoginInfo)
            .responseJSON { response in
                if let JSON = response.result.value {

    public var manager: Manager
    
    public init() {
        manager = Manager.sharedInstance
    }
    
    private func getTicket(lt: String, execution: String) {
        print("Requesting ticket...")
        
