tests pass. automatic redirects based on user logged in/out in registration process