fixing profile linking to wrong users - closes #127