Updated users test for more relevant messages and improved testing to cover error case
added mongoid to gemfile