working save geoloc to db and deleting too.