Added pasted url validation and basic url shortage logic