         
     }
     
+    func hasPreviouslyLike(likes: JSON) -> Bool {
+        
+        print("hasPreviouslyLike::likes \(likes)")
+        
+        // LOOP OVER PREVIOUS LIKES AND SEE IF CURRENT USER ID IS ONE OF THE OWNER IDS
+        
+        let _user_id_number = NSUserDefaults.standardUserDefaults().objectForKey("currentUserAccountUID") as! NSNumber
+
+        for _like in likes {
+            if (_like.1["properties"]["owner_id"].intValue == _user_id_number.integerValue) {
+                print("_like.1 \(_like.1)")
+                return true
+            }
+        }
+        
+        return false
+    }
+    
     func likeCurrentReport(sender: UIButton) {
         
         print("LikeController::likeCurrentReport Incrementing Report Likes by 1")

        }
        else {
            reportLikesCountText = "0 likes"
            _cell.reportLikeCount.hidden = true
        }
        
        _cell.reportLikeCount.setTitle(reportLikesCountText, forState: .Normal)

        let _report = JSON(self.reports[(indexPathRow)].objectForKey("properties")!)
        let _report_likes_count: Int = _report["likes"].count
        
        // Check if we have previously liked this photo. If so, we need to take
        // that into account when adding a new like.
        //
        let _previously_liked: Bool = self.hasPreviouslyLike(_report["likes"])
        
        var _report_likes_updated_total: Int! = _report_likes_count
        
        if (addLike) {
            if (_previously_liked) {
                _report_likes_updated_total = _report_likes_count
            }
            else {
                _report_likes_updated_total = _report_likes_count+1
            }
        }
        else {
            if (_previously_liked) {
                _report_likes_updated_total = _report_likes_count-1
            }
            else {
                _report_likes_updated_total = _report_likes_count
            }
        }
        
        var reportLikesCountText: String = ""
