Home Page Cookie?

On Home Page, looking for suggestions on how to automatically display Register Page to Non-Registered Users, and Login Page to Registered Users?