Adapter based login.