Switched back to using mongo db