added very basic location detection for challenge creation