Credential requester

Outline credential requester, this is an extract from pull request #2