Sorted out validating user input as string