Refactor echo and user map.