Unused imports
User urlparse to extract domain
Enable login with token. Connect on start