user $resource for communication