fixes check for server return value
adds info to package.json + license