Fix unit routing logic.

Implement home route.