revamp login flow