refactored the user input code that checks what the user types. it also works then they type a long string for the help methods