Legislative issues in the migration sphere