added credential store helper.