added GenericCredentials class