Fixed missed connection in storyboard: in the Login view controller, the host text field delegate points now to the view controller.
Housekeeping: Cleaned template-generated code and old commented code.