Adds group ownership logic
Fixes bugs in multiuser setup