Verify user input