Commented out NSLog and replaced logged errors with UIAlertViews