added mongoid for db