Basic terminal routing and login