Added logic to check for empty values on the user inputs