Updating to authenticate against MongoDB