Fixed group / login bug