add user stream function