Updated iOS project with new endpoint, fixed some problems with the API including error handling and formatting