changed config to use mongo instead of AR