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

            latitude = locationManager.location!.coordinate.latitude
            longitude = locationManager.location!.coordinate.longitude
            print("latitude\(latitude) longitude \(longitude)")
            // TODO : Save to server
            //self.sendBackgroundLocationToServer(locations[0]);
        }
    }
    
}
            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
    }
    
