Checking the url submitted