Change login ui and make toggle works