restore database.yml.example
define model relation
disable CSRF