add validation to ensure inputted url is actually a url