added group reset on each login