Flushed out login process.