Added URL validation for the front end.

If url is not valid, the front end will display so.