session manager working