made authenticate synchronous, added  resetWithClientID
removed NSLog, added cancelOperations on authenticate