             latitude = locationManager.location!.coordinate.latitude
             longitude = locationManager.location!.coordinate.longitude
             print("latitude\(latitude) longitude \(longitude)")
+            
             // TODO : Save to server
             //self.sendBackgroundLocationToServer(locations[0]);
         }

            query.whereKey("StatusId", equalTo: 3) //StatusId 3 Means Donetion Recieved and closed
            // We will track location after the payment recieved only
            query.whereKey("UserId", equalTo:(currentUser?.email)!)
            print("Searing Bid with Status 3,PaymentMakeTime after: \(EarlierFromNow) ][for user: \(currentUser?.email)!)]")
            query.findObjectsInBackgroundWithBlock {
                (objects:[PFObject]?, error:NSError?) -> Void in

            bi.StatusId = 0
            // no status found , put a default status. o Means bid is just created
        }
        
            
        if let pointer = pfbid["spot"] as? PFObject {
            bi.spot = getSpotFormPfObject( pointer)
        }
       

        return bi
    }
    
