skeleton logic for merging users