Add session check.