def lookupUserByName(self, name):
    for i in UserEnt.objects.values():
        if (i[USERNAME] == [name]):
            deepcopy(i)
            return deepcopy(i)
    return None
def lookupUserByName(self, name):
    for i in UserEnt.objects.values():
        if (i[USERNAME] == [name]):
            deepcopy(i)
            return deepcopy(i)
    return None