added license text
improved message when querying local endpoint and cors is an issue