complete refactor login ui