added no-arg constructor and setUserName method
added no-arg constructor