working towards use of Credentials plugin