Switch UserSessions insert/update logic to use upsert
Merge pull request #6 from jonjamz/master

Switch UserSessions insert/update logic to use upsert. Fixes #3.