fixed wrong parameters passed on user resource