add sessions & uniquify

Signed-off-by: Xiaomin Tang <xtang@avos.com>