add server side validation to see if link will bring up a successful response.
modularize server side validation that checks if link will bring up a successful response.