Remove unused imports
Log Docker API errors
Remove bootstrap() method, hardcode apps URL
Store username and id as well as token; auto-upgrade users who only have an API key