implement user and group associations