Can I activate my plugin only for those registered on the site?

currentUser

You may need it in the plugin.