Changed definition of credentials