view change
reactoring login flow