modify Flow and add userinfo