Refactor admin/user links behavior