fixed more bugs with auth, checking groups length for login