Fixed getUsername

Fixed getUsername