Added validations for inputed URL