Added functions to validate/check existance of a url