stroing messages on server side