Added new method to test user input

User input not null