Add user input code.

Verifies that the user input is the right length and lets the user exit the prompt.