added usergroup functionality and match searches