server side validations

* add server side validation to see if link will bring up a successful response.
* prevent user from inputting same link twice.