Function getUserLibraryApi