Maybe I don’t understand your question correctly, but… I think there’s an option that does exactly what you need…
If you log in as Administrator and go to Settings->Discussion you should see this option “Users must be registered and logged in to comment”.