Added better errors for no credentials