implemented iOS 8 requirements for location manager authorisation
fixed HTTP request URL