open and close session.
Open and close sessions.