User with no groups

Hi,

If a user has no groups, then it returns all groups. Also standardise markup slightly,

Cheers
Michael