generate a random share code, also return the shareCode in the JSON, and increased shareCode length from 4 to 6