add multiuser functionality