Fixed datadir for cs; fixed bug in password.php.