Added temp debugging for credential and identity