begning session management