Updated sample code in README to include fix for userId race condition