generating mongoid config, updating user model
refactoring methods