created database.php, edited token.php