Maven Member™ lets you protect pages, posts and categories using flexible roles that you can define.
Maven Members™ is designed to run "out-of-the-box" with no modifications to your WP installation necessary.
/maven-members/directory and its contents to the
a. Asign the role to existing users. b. Protect some categories. Any post under those categories, will need a login (you can customize it in Settings / Advance)
Also, you can protect some pieces of a post using the folowing shortcode
[mvn-block roles="my-role"] this is my text [/mvn-block]
To show the registration form use