removed unnecessary setUserName and setDirectNet calls