add query to retrieve 16 random documents and send to client