     }
     
     func isLocatingAllowed() -> Bool {
-        var allowed = true
-        if CLLocationManager.locationServicesEnabled() == false {
-            allowed = false
+        var allowed = false
+
+        if CLLocationManager.locationServicesEnabled() == true {
+            allowed = true
         }
-        if CLLocationManager.authorizationStatus() == CLAuthorizationStatus.Denied {
+        if CLLocationManager.authorizationStatus() == .AuthorizedWhenInUse {
+            allowed = true
+        } else {
             allowed = false
         }
         

    //#pragma mark - Properties
    var locationManager:CLLocationManager = CLLocationManager()
    var location:CLLocation?
    
    class var sharedInstance: GeoManager {
    struct SharedInstance {

        
    }
    
    func locationManager(manager: CLLocationManager!, didChangeAuthorizationStatus status: CLAuthorizationStatus) {
        if (!self.locationAuthorized && status == .AuthorizedWhenInUse) {
            // Location service was not enabled before - now start the location service again
            self.start()
        }
    }
    
    //#pragma mark - Notifications
    func didEnterBackground(notification:AnyObject) {
        self.stop()
