fixed callback to use user.id