Fixed Username Undefined Issue