started work on session management