adds helper functions to server-chat