The proper check here is: "if not userName"