Added URL validation