Added a login facility.
Added config of datadir for easier deployment.
Moved combined.php to index.php.