rails with mongo working for users model