validateUserInput modified