Fixed where groups were not being added to new users, also fixed groups being passed to jade for easy parsing