              let pinLocation: CLLocationCoordinate2D = CLLocationCoordinate2D(latitude: (spot?.location.latitude)!, longitude: (spot?.location.longitude)!)
           let region=MKCoordinateRegion(center: pinLocation, span: MKCoordinateSpan(latitudeDelta: 0.004, longitudeDelta: 0.004))
           self.map.setRegion(region, animated: true)
-            let annotation = CustomerAnnotation(coordinate: pinLocation,spotObject: spot!, title :(spot!.owner!.email!),subtitle: (spot!.owner?.email)!)
+            let annotation = CustomerAnnotation(coordinate: pinLocation,spotObject: spot!, title :(spot!.owner!.email!),subtitle: (spot!.owner?.objectId)!)
             //annotation.subtitle = "Rating bar here"
             self.map.addAnnotation(annotation)
         }

                    
                }
                catch{
                   //Throw an exception
                }
               
                pinAnnotationView.leftCalloutAccessoryView = pic
                pic.frame = CGRectMake(0, 0, 40, 40);

                
                
                return pinAnnotationView
                
            }

            return nil
    }
    
    

    
