Use a generated session key instead session id
Added UUID generator