adjusted mongoid.yml to be able to write to the database