My solution is simple.

Treat every citizen as a human being. Let people go where they want, when they want.

What's the problem with that?