redid login flow on separate pages