Notify function revisited

- renderMSG splitted to better manage the custom cases
- removed the old client-side only function