changed chat to work with new server