For register challenge API, check if there is a jwt (logged in user).
Merge pull request #200 from bugbuka/master

For register challenge API, check if there is a jwt (logged in user).