Added length validations and Url validation