How do I make a login/register page?

I added membership plugin to my site (http://mbits.com.br/reabilitar/) set one level "intranet" as freesubscription e set a not logged user as "visitor".
I set "visitor" negative rule for the page "intranet" and other subpages.
It works fine, but I want that a not logged user (visitor) to be redirected for a login/register page when try to access a protected page.
How can a make this page e how to set the automatic redirect?