Validate user input and output warnings