New model testing

Working on various functions for the new User model. Can now leave a
group, deletes references from both models.