The role of the European Union and international legislation in the government of the migration crisis