rewrote sign up workflow