add redirect after leaving group