add SessionManager and SessionDelegate