Added password recovery; added config.php; made some other minor edits