correction concerning the return type of the ws, from map to MessageCollection or UserCollection