only echo debug for logged in users