Rest API with nodejs, mongodb and JWT