Session management added.