moving admin link setup to separate function