Initial work with credential callback