     public var manager: Manager
     
     public init() {
-        let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
-        manager = Alamofire.Manager(configuration: configuration)
+        manager = Manager.sharedInstance
     }
-
+    
     private func getTicket(lt: String, execution: String) {
         print("Requesting ticket...")
         

        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 {

                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()
