Upsert users when they log in