add license for session
fix comments