Add session id generation