fix invalid user links in admin panels
Fix #643