add userid to statements