design and implement basic user match logic