Text this: Legal aspects of migration regulation as a factor of national security