fixing userid link in leave reference