trying to create django/ajax chat + history in MySQL with search