sync when the user logs in