added failsafe for unauthenticated requests