                 
                 do {
                     if let rootJson = try JSONSerialization.jsonObject(with: data, options: .mutableContainers) as? [[String: Any]] {
+                        
+                        print(rootJson)
                         
                         for repositoryJSON in rootJson {
                             if let repo = Repository(json: repositoryJSON) {

                                print("Saved successfully")
                            }
                        }
                    }
                }) .resume()//tells datatask to execute. most common bug in production(no feedback) have to do this!
                

    }
    
    func accessTokenFrom(_ string: String) -> String? {
        
        if string.contains("access_token") {
            
            let components = string.components(separatedBy: "&")
            
            for component in components {
                if component.contains("access_token") {
                    let token = component.components(separatedBy: "=").last
                    
