updated to use bbm generated session id