use current user when using template resource