adding basic chat funtions to server side