Login screen functionality mostly done.