Upgrade project.
Write login data to config.json.