Added mongoid + devise code