link insertion fully functional server side but not displaying well client side