Replaces simplejson with json

simplejson was deprecated as of 1.5 and lacks support in 1.7
Fixes attribute error in username lookup

Checking for a username when the user model has been swapped out throws
an exception that the if/else doesn’t catch.
Merge pull request #8 from dbinetti/master

Updates json and fixes username check