JTox was throwing an exception because username wasn't defined