db tables split, fields in invite table fixed