      - parameter completionHandler: <#completionHandler description#>
      - parameter error:             <#error description#>
      */
-    public func getToken(completionHandler: (token: String?, error: NSError?) -> Void) {
-        
+    public func refreshToken(completionHandler: NSError? -> Void) {
+       
         let url = "\(tokenURL)?fbtoken=\(fbToken)"
         
         Alamofire.request(.GET, url)

    
    public var token: String?
    
    let tokenURL: String!
    var fbToken: String!
 

                    
                    if let rtoken = JSON["token"] as? String {
                        self.token = rtoken
                        completionHandler(nil)
                    } else {
                        
                        if let e = JSON["error"] as? NSDictionary {
                            let message = e["message"] as? String
                            let err = NSError.createWatsonError(503, description: message!)
                            completionHandler(err)
                        } else {
                            let err = NSError.createWatsonError(503, description: "Some other error occurred")
                            completionHandler(err)
                        }
                    }
                    
                    
                   
                } else {
                    completionHandler(
                        NSError.createWatsonError(400, description: "Could not parse response"))
                }
                
                
