support for location permissions

adds location permission #2