remove custom GUID implementation
secure randomness on the server
minor fix in cryptoRandom