fixing nfcring logout code
Merge pull request #1 from julianlam/master

fixing nfcring logout code