Working on persistence, login flow