     var user_id = 0
     var page_id = 1
     var movies: [MovieCompare.Data] = []
+    var isNext = false
+    var isUpdating = false
     
     override func viewDidLoad() {
         super.viewDidLoad()

                print("***** API results *****")
                
                if IsHTTPStatus(statusCode: response.response?.statusCode) {
                    self.movies.removeAll()
                    
                    for data in obj["results"].arrayValue {
                        self.movies.append(MovieCompare().GetData(json: data))
                    }
                    
                    self.InitCollectionView()
                }else {
                    ShowStandardAlert(title: "Error", msg: obj.arrayValue[0].stringValue, vc: self)
                }

        let keychain = Keychain()
        user_id = Int((try! keychain.get("id"))!)!
        
        InitCollectionView()
        CallGetCompareAPI()
    }
    
