add user authentication to mongodb test