rest+local storage working, first tests with mongoDB as storage