check_if_user_is_logged_in_locally: anonymous users are technically authenticated