Add resource_id to user