setting up mongoid