get libraries and library items from server