updating cms to remove siena persistence and just use JPA, plus added the API calls in for logging in, updated MongoDb to handle collection names and local settings better