ruby-cas server with devise and mongo db implementation