Add group check to redirects