refactored BCrypt + mongoid usage