adding filtering between users and groups