Documents list retrieval code implemented