generate random session id, closes #6