fixed  failIfSignedOut()