added support for mongoid in notification controller
raising error when using an unsupported orm