Rewrite User directive