Removed NSLog call
Better error handling for API requests