get all papers from php backend