Moved the strip() method in the getConsoleUser function.