making links function, admin not yet