Adding boilerplate login.