Matching Users with Groups in Social Networks