def findUsername(data):
    """Find a username in a Element

    Args:
        data (xml.etree.ElementTree.Element): XML from PMS as a Element

    Returns:
        username or None
    """
    elem = data.find('User')
    if elem is not None:
        return elem.attrib.get('title')
    return None