Make admin check work without logged in user