move status_noauth loading into separate function since we need it several times