1. make session as a seperate middleware for bamboo;

Signed-off-by: Daogang Tang <daogangtang@gmail.com>