adding didFailWithError to the CLLocationManagerDelegate in  case  we cannot access location