Added functionality to link users