handled case of no credentials