use correct id for users update when creating session