The Afghan government and the United Nations refugee agency have pledged to strengthen efforts to resettle returnees and people inside the country displaced by violence .