Redirecting to login/Register page

How do I restrict my add event-registration page