Switched the api url back to cloudant instead of localhost