// run this script with $ mongo < init_mongo.js

db.createUser({user: "tester", pwd: "12345678",
              roles: [{role: "dbAdmin", db: "pwmantest"},
                      {role: "readWrite", db: "pwmantest"},]
              })