add method sm_get_session