add bson gem, make user model a mongoid document and create mongoid config file