                 
                 let strongSelf = self!
                 if allowed {
-                    println("App is allowed to access address book")
+                    println("user allowed app to access address book")
                     strongSelf.doSomethingGood()
                 } else {
-                    println("App is not allowed to access address book")
-                    strongSelf.displayErrorAlert(strongSelf.kErrorNotOkToAccessAddressBook, tryAgain: false)
+                    println("user did not allow to access address book")
+                    strongSelf.displayErrorAlert(.userRejectedAddressBook, tryAgain: false)
                 }
             })
             
         case .Restricted:
             
             println("Address book is restricted")
-            displayErrorAlert(self.kErrorNotOkToAccessAddressBook, tryAgain: false)
+            displayErrorAlert(.addressBookRestricted, tryAgain: false)
 
         default:
             
             println("Unknown address book auth status")
-            displayErrorAlert(self.kErrorNotOkToAccessAddressBook, tryAgain: false)
+            displayErrorAlert(.unknownError, tryAgain: false)
        }
     }
         

        
        switch errorID {
                        
        case kErrorNotOkToAccessAddressBook:
            
            errorMessage = "kErrorNotOkToAccessAddressBook"
            
        case kErrorHomewardContactMissing:
            
            errorMessage = "kErrorHomewardContactMissing"
            
        default:
            
            println("Missing Error Code")
            
        }
        

            let contactName = ABRecordCopyValue(person,kABPersonFirstNameProperty).takeRetainedValue() as String
            println("The name of this contact is \(contactName)")
        } else {
            self.displayErrorAlert(.homewardContactMissing, tryAgain: true)
        }
    }
        
