modified user retrieval, getting both shallow lists and deep user objects, writing to file for verification/testing.