Switch UserSessions insert/update logic to use upsert