setting up authlogic and mongoid