user using $resource