add debug fubction
valiate user input and send it in json
add userverify user's step