adding state machine & payments on signups