Removed unused function in AccountGroupsController