fix potential bug: user has unknown role
Merge pull request #4 from recklessrahul/master

fix potential bug