Changed DB schema and updated models accordingly

We no longer use AutoGroups and ClusterUserPair, but we updated the group and user tables instead.