WIP on login sequence.