added constructors for the credentials classes