added seesion id logic