Complete - task : validate user input