store settings for app in mongo