handle case where in developer does not care about expiry for credential
Merge pull request #31 from anilsaldhana/master

see comments