delete location functions (needs more work, not for this release)
delete location permissions