add hide username logic