Added check for input trip and expense to ensure a valid name is entered