state machine without bets
add user search