Fix create user in rest.