created resource 'pin'