Add searching through groups table