usability fix: better messages
made the dist scripts relative. Added baseUrl for API calls