Organizes admin linking more consistently

todo: create and reuse a generalized function