Add initial log-in code.