fix errors on admin? call when not logged in