adding CredentialsRetriever class