Documented usage of requireLoggedIn