I would do both. I don’t think the user logged out action causes a 302 redirect so I’d only use that for when users are logged in on page load and then log out