Updated lots of functionality, added user-group-history