Pak-Afghan authorities agrees to develop border mechanism