require login, and add database.yml.example