is_url method added for valdation