some more experiments with JWT and mongodb integration