Selective sync for user groups

Woop woop
@czue 
not the biggest deal in the world, but this (as opposed to the other two) will now load every group from the DB twice. can we refactor it so that doesn't happen?