initial wiring of login