def dist(a, b):
    return sum((i-j)**2 for i, j in zip(a, b))
def serializable_fields(self):
        """ in certain cases the user model isn't serializable so you may want to only send the id """
        return self