fixed bug in user model
Merge pull request #12 from mdrewt/joe

fixed bug in user model