def get_index_of_user_by_id(id_value, data):
    """Get index of user in list by id"""
    for count, item in enumerate(data):
        if item['id'] == id_value:
            return count
    return None