Add login.php.
Start factoring out utility.php.
Write tools/curl.html.